<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
export default {
  name: "App",
  components: {},
  watch: {
    '$route': function(to,from){
      document.body.scrollTop = 0
      document.documentElement.scrollTop = 0
    }
  }
};
</script>

<style scoped>
#app{
  position: absolute;
  height: 100%;
  width: 100%;
  margin-left: -8px;
  margin-top: -8px;
}
</style>


